package com.bw.zhanggm.file.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.bw.itext.pdf.annotation.PdfValue;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 合同信息表
 * </p>
 *
 * @author zhanggm
 * @since 2024-01-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ht_contract")
public class HtContract implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 合同ID
     */
    @PdfValue(colName = "合同Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 分类ID
     */
    @PdfValue(colName = "合同分类")
    private Integer categoryId;

    /**
     * 合同名称
     */
    @PdfValue(colName = "合同名称")
    private String name;

    /**
     * 合同日期
     */
    private LocalDate date;


    /**
     * 合同日期
     */
    private Integer total;

    /**
     * 合同状态
     */
    private String status;


    @TableField(exist = false)
    private String token;



    @TableField(exist = false)
    private String taskId;

    @TableField(exist = false)
    private String taskName;

    @TableField(exist = false)
    private String assignee;

}
